package com.hwl.lab.repository;

import com.hwl.lab.entity.Family;
import org.springframework.data.jpa.repository.JpaRepository;

import javax.transaction.Transactional;
import java.util.List;

public interface FamilyRepository extends JpaRepository<Family,Long> {
    @Transactional
    Family findByFamilyid(String familyid);
    @Transactional
    void deleteByFamilyid(String familyid);

    @Transactional
    Family findByHandname(String handname);
}
